MPHB\Widgets\RoomsWidget S

Total Complexity 38
Dependencies 2
Dependents 1
Total lines 254
Lines of code 169
Logical lines of code 107
Comment lines 38
Methods 10
Properties 7

Methods 10

Method Rating Maintainability Complexity Lines of code
update()
A
58 17 12
widget()
A
45 7 38
form()
S
42 4 60
renderRoom()
S
54 1 21
isValidRoom()
S
77 2 3
sanitizeRoomTypeIdsArray()
S
68 2 7
sanitizeRoomTypeId()
S
75 2 4
__construct()
S
63 1 12
getMainQuery()
S
65 1 9
enqueueScriptStyles()
S
81 1 3